lib/fetcher-soup: Map more SoupStatus codes to known GIOErrors
authorPhilip Withnall <withnall@endlessm.com>
Fri, 25 May 2018 14:49:18 +0000 (15:49 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 30 May 2018 16:23:57 +0000 (16:23 +0000)
commit224f3cdd24e81de6f490fdcd93b114bbb7d4ab8a
tree5874084de08fe3120f32db2502f1563799668da9
parent938055392fd455027a69398c441b992ae521aa87
lib/fetcher-soup: Map more SoupStatus codes to known GIOErrors

This allows the retry code in ostree-repo-pull.c to recover from (for
example) timeouts at the libsoup layer in the stack, as well as from the
GSocket layer in the stack.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1594
Approved by: jlebon
src/libostree/ostree-fetcher-soup.c